<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<!-- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/icon.css" />
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/ainit.css" type="text/css"></link> -->
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/sysPrint/printCss/print.css" />
     <link rel="stylesheet" href="../printCss/print.css" type="text/css"></link>
 	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
 	<script type="text/javascript" src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.2.2.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.ainit-1.0.0.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/model.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/perlize.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/save.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/initPage.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/sysReport/report.js"></script>
    <script type="text/javascript">
    	$(function(){
    		//initPrintInfoXQ();
    	});
    </script> 
    <script type="text/javascript">
        window.onload=function name(){
          window.print();
          window.close();
    }
     </script> 
</head>
<body>
	<div id="xtlxquerya">
		<div id="main" >
			<form action="" >
<table class='tableBord' cellpadding="0" cellspacing="0"  width="830">
  <tr>
    <th colspan="8" scope="col">${Company.COM_PRINTNAME}订货合同</th>
  </tr>
    <tr>
    <td class="td_right"><strong>订单编号</strong></td>
    <td colspan="3" class="td_left">&nbsp;</td>
    <td class="td_right"><strong>客户编号</strong></td>
    <td colspan="3" class="td_left">&nbsp;</td>
  </tr>
  <tr>
    <td class="td_right"><strong>甲方：</strong></td>
    <td class="td_left">${Company}</td>
    <td class="td_right"><strong>电话：</strong></td>
    <td colspan="2" class="td_left">&nbsp;</td>
    <td class="td_right"><strong>传真：</strong></td>
    <td colspan="2" class="td_left">&nbsp;</td>
  </tr>
  <tr>
    <td class="td_right"><strong>乙方：</strong></td>
    <td class="td_left">${data.UNIONNAME2}</td>
    <td class="td_right"><strong>电话：</strong></td>
    <td colspan="2" class="td_left">&nbsp;</td>
    <td class="td_right"><strong>传真：</strong></td>
    <td colspan="2" class="td_left">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="8" class="td_left">一、甲方同意向乙方购买产品明细如下：</td>
  </tr>
  <tr>
    <td class="td_ct"><strong>编号</strong></td>
    <td class="td_ct"><strong>产品名称</strong></td>
    <td class="td_ct"><strong>克重</strong></td>
    <td class="td_ct"><strong>规格</strong></td>
    <td class="td_ct"><strong>令数</strong></td>
    <td class="td_ct"><strong>单价</strong></td>
    <td class="td_ct"><strong>金额</strong></td>
    <td class="td_ct"><strong>备注</strong></td>
  </tr>
   <c:forEach items="${dataList}" var="temp">
 <tr>
    <td class="td_left">${temp.ROWNUM}</td>
    <td class="td_left">${temp.CL_NAME}</td>
    <td class="td_left"> ${temp.CL_WEIGHT}</td>
    <td class="td_ct">${temp.CL_STANDARD}</td>
    <td class="td_ct">${temp.CLAMOUNT}</td>
    <td class="td_ct">${temp.CL_PRICE}</td>
    <td class="td_ct">${temp.REAL_MONEY}</td>
    <td class="td_left">${temp.MEMO}</td>
  </tr>
  </c:forEach>
  <tr>
    <td><strong>货款总计</strong></td>
    <td colspan="7">&nbsp;</td>
  </tr>
  <tr>
    <td><strong>交货日期</strong></td>
    <td colspan="7">&nbsp;</td>
   
  </tr>
  <tr>
    <td><strong>交货地点</strong></td>
    <td colspan="7">&nbsp;</td>
  </tr>
  <tr>
    <td><strong>收货人</strong></td>
    <td colspan="7">&nbsp;</td>
    
  </tr>
  <tr>
    <td colspan="8" class="td_left">二、产品的包装标准：以货物出厂厂家标准为准</td>
  </tr>
  <tr>
    <td colspan="8" class="td_left">三、质量要求：</td>
  </tr>
  <tr>
    <td colspan="8" class="td_left">四、甲方应于收到货物当时立即对货物进行验收，并签署送货单。如发现货物质量问题，应于收到该批货物之日起5天内以书面方式告知乙方，5天内未书面提出异议的视为货物符合质量要求。乙方应在收到该通知后48小时派人核实异议情况，经查属实的，乙方予以解决，纸张已加工成品、成书的客户提出的异议，乙方不予解决。</td>
  </tr>
  <tr>
    <td colspan="8" class="td_left">五、付款方式：</td>
  </tr>
  <tr>
    <td colspan="8" class="td_left">六、违约责任：</td>
  </tr>
  <tr>
    <td colspan="8" class="td_left">1、 甲方逾期付款的，每逾期一日，应向乙方支付应付未付款项金额的千分之二作为违约金，直至甲方付清货款之日止。<br>2、 本合同条款双方均需遵守，如有违反，违约方应赔偿守约方因此而受到的损失。</td>
  </tr>
  <tr>
    <td colspan="8" class="td_left">七、争议的解决：甲、乙双方因履行本合同发生争议的，首先应友好协商解决。协商不成的，双方约定由守约方人民法院管辖。</td>
  </tr>
  <tr>
    <td colspan="8" class="td_left">八、本合同传真件与本合同原件具有同等法律效力。</td>
  </tr>
  <tr>
    <td colspan="8" class="td_left">九、本合同一式贰份，甲、乙双方各执一份，经甲、乙双方签字盖章之日起生效。 </td>
  </tr>
  <tr>
    <td colspan="8" class="td_left">十、备注：</td>
  </tr>
  <tr>
    <td colspan="8">&nbsp;</td>
  </tr>
  <tr>
    <td class="td_right"><strong>甲方：</strong></td>
    <td colspan="2">&nbsp;</td>
    <td><strong>乙方：</strong></td>
    <td colspan="4">&nbsp;</td>
  </tr>
  <tr>
    <td class="td_right"><strong>授权人：</strong></td>
    <td colspan="2">&nbsp;</td>
    <td class="td_right"><strong>授权人：</strong></td>
    <td colspan="4">&nbsp;</td>
  </tr>
  <tr>
    <td class="td_right"><strong>日期：</strong></td>
    <td colspan="2">&nbsp;</td>
    <td class="td_right"><strong>日期：</strong></td>
    <td colspan="4">&nbsp;</td>
  </tr>
</table>
			</form>
		</div>
	</div>
</body>
</html>